package demo;

public class Cat extends Animal {
//    public  String name;
//    public  int age;
//    public int foot;
//    public void eat(){
//        System.out.println("在吃饭...");
//    }
    //初始化父类，赋值
    public Cat(){
        super("蛋挞",23);//必须在第一行
    }

    public void mimi(){

        System.out.println(name+"咪咪叫...");
    }


}
